package cn.xinfei.xdecision.common.service.datax.datamanage.v2;

import cn.xinfei.xdecision.common.model.datax.datamanage.v2.VariableScript;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface VariableScriptService extends IService<VariableScript> {

    String findScriptByVariableCode(String varCode);
    List<String> findScriptsByVariableCodes(List<String> varCodes);


    List<VariableScript> findAllScripts();

    Map<String,Map<String,String>> findVarCodeAndScriptByVarCodes(Collection<String> varCodes);
}
